<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        .list {
            width: 200px;
            height: 200px;
            border: 1px solid black;
            overflow: auto;
        }
        .item {
            height: 50px;
            border: 1px solid grey;
        }
    </style>
</head>
<body>
 <a href="#item5" id="poi">定位</a>
 <div class="list">
     <div class="item">111</div>
     <div class="item">222</div>
     <div class="item">333</div>
     <div class="item">444</div>
     <div class="item">fff1</div>
     <div class="item" id="item5">555</div>
     <div class="item" id="item6">fhfjff</div>
     <div class="item">999</div>
     <div class="item">001</div>
     <div class="item">002</div>
     <div class="item">003</div>
     <div class="item">004</div>
 </div>
 <script>

     var poi = document.getElementById('poi')
     setTimeout(() => {
       poi.click()
     }, 2000)
 </script>
</body>
</html>
